//
//  CYHChapterModel.h
//  CYHReader
//
//  Created by chenyh on 2016/9/26.
//  Copyright © 2016年 chenyh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreText/CoreText.h>

@interface CYHChapterModel : NSObject<NSCopying,NSCoding>

@property (nonatomic,strong)NSString *content;

@property (nonatomic)NSUInteger pageCount;

@property (nonatomic,strong) NSString *title;

- (NSString *)stringOfPage:(NSUInteger)index;

- (void)updateFont;

+ (id)chapterWithePub:(NSString *)chapterpath title:(NSString *)title;


@end
